package com.wtb.javatool.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 课程表
 * @author yangzhuoheng
 *
 */
@Data
@ToString
@ApiModel(value = "Course",description="课程")
@NoArgsConstructor
@AllArgsConstructor
public class Course implements Serializable {

	private static final long serialVersionUID = 5715043674151551828L;
	@ApiModelProperty(value = "course_id")
	private Integer courseId;
	@ApiModelProperty(value = "课程名称")
	private String courseName;
	@ApiModelProperty(value = "课程简介")
	private String description;

	public Course(String course_name, String description) {
		this.courseName=course_name;
		this.description=description;
	}

}